package com.forlove.app.qselect.login.entity;

import com.forlove.app.common.base.mvp.entity.BaseEntity;
import com.forlove.app.common.base.serializer.JSONKey;

/**
 * 通讯录联系人entity
 * Created by yjl on 2017/10/9.
 */

public class ContactsInfoEntity extends BaseEntity {
    @JSONKey(keys = "name", type = String.class)
    public String name = "";
    @JSONKey(keys = "number", type = String.class)
    public String number = "";
    @JSONKey(keys = "sortKey", type = String.class)
    public String sortKey = "";
    @JSONKey(keys = "id", type = Integer.class)
    public int id;

    public ContactsInfoEntity() {
    }

    public ContactsInfoEntity(String name, String number, String sortKey, int id) {
        setName(name);
        setNumber(number);
        setSortKey(sortKey);
        setId(id);

    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public String getSortKey() {
        return sortKey;
    }

    public void setSortKey(String sortKey) {
        this.sortKey = sortKey;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }
}
